package com.common.web.util;

/**
 * @author ficus
 * web 定义常量
 */
public final class WebConstant {

	public static String requestErrorCode="error";
	
	/**
	 * token Key
	 */
	public static String TOKEN_KEY="token";
	
	/**
	 * web允许资源
	 */
	public static String[] webResourceList= {
			"/","/**.html","/**.js","/**.css","/favicon.ico",
			"/csrf","/v2/api-docs","/swagger-resources/**","/webjars/**",
			"/img/**","/static/**","/fonts/**","/js/**","/css/**",
			"/websocket/**"
	};
	
	/**
	 * 请求白名称
	 */
	public static String[] whiteRequestList= {
		"/auth/login","/auth/logout","/auth/getSysInfo","/enums/getEnums"	
	};
}
